package com.ces.knacky.controller.tools;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ces.knacky.framework.controller.ListController;

@Controller
public class ListInventoryController<Inventory> extends ListController<Inventory> {

	@RequestMapping("/listInventory.htm")
	public String execute(){
		listEntity = (List<Inventory>) commonService.list("SELECT inventory from Inventory inventory");
		return "listInventory";
	}
}
